home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-26 | 820 b | 24 lines | [TEXT/ScoM] |
- PROGRAMMING MERGE-RHYTHMS
-
- >I think I have allmost solved the merge-rhythms function.
- >It's the most complicated function I have written and when its done I
- >will try to
- >add also melodys.
- >It is really difficult because first I have to convert rhythms to a
- >(real-time) scale
- >then appending then remove-duplicates and sort before converting back
- >again.
-
- Reminds me the solution I used in symbol harmonization which is
- length sensitive. First it expand-with-len and then filters and then
- compresses it back.
-
- expand-with-len '(a b c d) '(1/16. 1/8) '1/1 '1/32)
- --> (a a a b b b b c c c d d d d a a a b b b b c c c d d d d a a a b b b b)
-
- (compress-with-len '(a a a b b b b c c c d d d d a a a b b b b c c c d d d d a a a b b b b)
- '(1/16. 1/8)
- '1/32)
- --> (a b c d a b c d a b)
-
-